<link rel="stylesheet" type="text/css" href="assets/bootstrap-datepicker/css/datepicker.css" />
<aside class="lg-side">
  <div class="panel-heading tab-bg-dark-navy-blue okr-tab-head tab-right "></div>
  <div class="inbox-body mi-h8">
    <div class="row">
      <div class="col-lg-12">
        <section class="panel">
          <header class="panel-heading">
            拜访记录
          </header>
          <div class="panel-body">
            <form>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">客户公司名称*</label>
              <div class="col-sm-10">
                <select class="form-control" name="comId" id="comId">
                  <option value="">请选择</option>
                </select>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">客户人员名称*</label>
              <div class="col-sm-10">
                <input type="text" id="cusName" name="customerName" class="form-control" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');">
              </div>
            </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">拜访日期*</label>
                <div class="col-sm-10">
                  <input type="text" id="time" class="form-control" name="visitTime" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');">
                </div>
              </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">拜访人(项目成员)*</label>
              <div class="col-sm-10">
                <select class="form-control" name="userId" id="userId" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');">
                  <option value="">请选择</option>
                </select>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">拜访内容*</label>
              <div class="col-sm-10">
                <textarea class="form-control" name="content" id="content" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" maxlength="120"
                placeholder="字数限制(120字以内)"></textarea>
              </div>
            </div>
            <p class="default-buttons">
              <a href="javascript:void(0);" class="button-back btn btn-info" onclick="toBack(24)">返回</a>
              <a href="javascript:void(0);" class="button-next  btn btn-info vsubmit">提交</a>
            </p>
            </form>
          </div>
        </section>
      </div>
    </div>
  </div>
</aside>
<script src="js/proinfo/customer.js"></script>
<script type="text/javascript" src="assets/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
<script>
    $('#time').datepicker({
        format: 'yyyy-mm-dd'
    });
</script>